package com.cssy.yd.basic.dao;

import java.util.List;
import org.springframework.dao.DataAccessException;

import com.cssy.yd.basic.entity.BasicModeDeliveryDO;
import com.cssy.yd.basic.entity.BasicModePaymentDO;
import com.plat.helper.SearchConditions;

/**
 * ��ݷ��ʶ���ӿ�
 * @since 2013-06-19
 */
public interface BasicModeDeliveryDAO {

    /**
     * �������
     * @param basicModeDeliveryDO
     * @return ������ݵ�����
     */
    public String insertBasicModeDeliveryDO(BasicModeDeliveryDO basicModeDeliveryDO) throws DataAccessException;

    /**
     * ͳ�Ƽ�¼��
     * @param basicModeDeliveryDO
     * @return ����ļ�¼��
     */
    public Integer countBasicModeDeliveryDOByExample(BasicModeDeliveryDO basicModeDeliveryDO) throws DataAccessException;

    /**
     * ���¼�¼
     * @param basicModeDeliveryDO
     * @return ��Ӱ�������
     */
    public Integer updateBasicModeDeliveryDO(BasicModeDeliveryDO basicModeDeliveryDO) throws DataAccessException;

    /**
     * ��ȡ�����б�
     * @param basicModeDeliveryDO
     * @return �����б�
     */
    public List<BasicModeDeliveryDO> findListByExample(BasicModeDeliveryDO basicModeDeliveryDO) throws DataAccessException;

    /**
     * ��������ȡbasicModeDeliveryDO
     * @param id
     * @return basicModeDeliveryDO
     */
    public BasicModeDeliveryDO findBasicModeDeliveryDOByPrimaryKey(String id) throws DataAccessException;

    /**
     * ɾ���¼
     * @param id
     * @return ��Ӱ�������
     */
    public Integer deleteBasicModeDeliveryDOByPrimaryKey(String id) throws DataAccessException;

	public List<BasicModeDeliveryDO> find(SearchConditions scs) throws DataAccessException;

   	public Integer count(SearchConditions scs) throws DataAccessException;
}